Skip to content

gh-145376: Fix various reference leaks#145377

Open
JelleZijlstra wants to merge 1 commit intopython:mainfrom
JelleZijlstra:refcount-bugs
Open

gh-145376: Fix various reference leaks#145377
JelleZijlstra wants to merge 1 commit intopython:mainfrom
JelleZijlstra:refcount-bugs

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Mar 1, 2026

@zware
Copy link
Member

zware commented Mar 1, 2026

Is there any improving the test suite to catch this kind of thing with the refleak bots? A quick glance suggests probably not, but it's worth at least getting a proper answer to the question written down :)

@JelleZijlstra
Copy link
Member Author

I think a few of these could be caught with a test, yes. It doesn't feel extremely high value (these particular paths aren't likely to regress), but I can add some if you like.

@zware
Copy link
Member

zware commented Mar 2, 2026

I'm in no position to make that value judgement :). More test coverage is generally better, but if they're not worth it they're not worth it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants